fixed rhel6/centos6 build