Enable configure-time detection of OpenPAM
Compile on OpenPAM
OSX ld does not support --version-script
More OpenPAM fixes
Remove unused function