fix building ruby on newer centos