Fix windows only define