MinGW Build Fix