Added support for building for rhel-5