Fix win compilation