fix mingw makefile build