disable some warning for windows