Fix makefile problem on MinGW.