Fixed problem with app not running on mac os x.