MinGW portability fixes # 2 (for Makefile)