Fix linkingproblem on OSX missing -framework CoreFundation
Merge pull request #3225 from jimmyw/master

Fix linkingproblem on OSX missing -framework CoreFundation