build_installer.sh on OSX is responsible for populating Barrier.app to
make it viable to run and creating a dmg for release. However its only
works if you run it against a release build. This patch makes so you can
run it on a debug build and it will populate Barrier.app but doesn't
create the dmg.