Fix NGINX installation on RHEL 5.9 (and 5.10 if that ships)

Also simplify the logic in the NGINX recipe