Some changes to cmake for mac
Merge branch 'PTFM-5906-cmake-fixes' of https://github.com/dnanexus/dx-toolkit into PTFM-5906-cmake-fixes