fixup OSX bundle
build and work under OSX