cmake: Enable CMP0042 @rpath usage for MacOSX

Testing:
- should build with homebrew cmake (v3.0.0) without warnings about CMP0042
- should continue to build with older cmake versions on all platforms
- no functional changes on any platform; this is really just quelling a warnings with the new cmake