fix windows build
core still crashes