ifdef for _WIN32 to fix build