Re-add math defines for MinGW

Commit 5c79896 took away the math defines, these defines are needed under MinGW if strict ANSI compilation is performed
Merge pull request #481 from tpaviot/review/mingw-math-defines

Re-add math defines for MinGW