(build) Add support for defining macros
(build) Add sleep before detaching disk image

Without sleeping for one second prior to detaching the osxfuse
distribution disk image some window settings might get lost.
(build) Add support for MacPorts