fix compiler warnings for MinGW on Windows