fix CentOS build.