[CMSSW_7_0_X] Fix castor linking libuuid errors on SLC5

Attempt to fix castor and libuuid linking errors on SLC5.