[Core] Fixed linux build.