[Core] Fixed some build warnings with VS2013