Needed to include windows.h when compiling in Windows