Remove some unwanted warnings on Windows