a few minor changes required to get a DMG to build (on Tiger, at least)