Disable usr/lib and /usr/include on MSYS/MinGW for module compile

Patches are for 2.7.3 and 2.7.4 only, 3.x will come later.
The reason is the /usr/include are for the MSYS err, system, not
part of MinGW-w64 so including them causes failures.