Patched macros header with the one from the "fix/minw64" branch.
This seems to fix the build for 64bit target platform via MinGW64 (under Windows).