Trying to fix compilation on MinGW.