Fix (hopefully) the Mac build.
Merge topic 'LINK_LIBRARIES-property' into next

786aa36 Fix (hopefully) the Mac build.