Build fix with MinGW.