Added newer libs and functions to properly bundle osx apps