invenio-setup-prerequisites: fixes for SLC 5 and 6

* Fixes for fully unassisted installation of prerequisites
  on SLC5 and SLC6.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>