Fix Solaris warnings/errors

Modified an unmodified file to make it look like the original
Merge in Solaris fixes from 'mymaster' of https://github.com/ffurano/xrootd-fbx