add defines for windows