Fix for Mac OS X: ld does not support option -z

This fix is necessary to compile iRods with GSI support.