Tweking configure.ac for rhel5