Better MinGW support