fix bug of build script on centos