Added compile macros for __WIN32__ and __unix__ platforms