Fix some issues installing the macosx backend as reported by Michiel de Hoon
Merge pull request #2250 from mdboom/fix-macosx-installation-issues

Fix MacOSX backend installation issues.