Add build support for redhat and centos 6.4