Set the full path on dynamic libraries when installing on Mac OS X.