enable (sort of) rtti on windows
build fixups on windows