fix windows build - add missing CORE_EXPORTs