Fix to compile again on Windows