Core: Fix build for msvc14