Fixup case errors when building for windows using mingw on linux