* add thread workaround to avoid consuming windows runtime library * add optional flag to avoid using windows runtime * remove any dependency on the windows runtime