Resolve duplicate symbol 'cocoa_open_uri' on OSX builds.

cocoa_open_uri.mm was being added to the source list
twice and also compiling twice. This patch enusres it is
only added once.