platform definitions for windows-compliant cmake build