use math defines on Mingw