OSX fixes

2 commits, with 5 fixes:
1) update cmake/Modules/Gr* to latest -- not required, but good practice;
2) fix OSX build:
 a) fix libraries needed for OSX linking (adding CoreFramework and PMT) -- required!
 b) fix install_name of library to be correct, for subsequent linkage -- required!
 c) fix includes path ordering to be local first, system second -- allows for in-place building while another version is already installed in the same PREFIX, so not required, but good practice.

I -might- have broken the Linux build in doing these changes, so please make sure to test there. Feel free to cherry-pick as needed to make this work on OSX and Linux. I think you can figure out which are OSX-specific.