Added flexibility to the OSX bundle making script.