Fix windows compilation