make so compiles with msvc 12 using std::thread