Fixed windows compilation