support for MinGW in makefile