Got the initial build working with CMake
Updated winstructs.h to avoid redefinitions