Added a conditional statement as the code is necessary only for RHEL5.