cmake: fix msvc build, WXMAKINGDLL usage
cmake: minor whitespace