Add support for generating an application bundle from CMake on Mac OS X