avoid defining macros already present on mingw32