undef CONST after a critical include of windows.h so that CONST enum value works, and add windows.h for Sleep() call where its needed
undef INTERFACE, CONST, and VOID to undo windows.h namespace polution
Merge pull request #1 from glycerine/mingw

Mingw-w64 fixes under gcc-4.8.2