Corrects [#JENKINS-21507] - Changes to FreeBSD 10 cause Jenkins PAM system authentication to fail

FreeBSD 10 handles some system libraries differently, causing an exception to be thrown. This corrects that issue. See detailed comment on the issue tracker https://issues.jenkins-ci.org/browse/JENKINS-21507 .