Updates to run on windows (include USE_MATH_DEFINES