Revert "Fully operational Mac build, including DMG support"

This reverts commit 7341b220d4a4e1f4e1b7d5fe6b59871fe3f8b8b8.
Revert "Revert "Fully operational Mac build, including DMG support""

This reverts commit 7023d5bd63023291c94349e480ab3c18b5b6db92.
Revert b437a89..a850223

This rolls back to commit b437a894dd455ec4619f065af5fba051a1a5e7cb.