Make debug build installable.

Have to use debug builds instead of release in Xcode 6.1 beta 2. See issue #2.