fixed a compile error caused by extensions::cg::Util on Linux