add Windows CORE_API macro quickfix