Fix windows ifdef check