fixed local RHEL5 build script