Enabled more tests for old windows build

math.cpp required disabling some C99 transcendentals on windows to
satisfy visual studio <= 2010