[Core] Fixed build with ealrier versions of VC