Moved #define WINDOWS to header file