Builds on OS X.

Some strange behavior though - won't run unless I run it through Xcode, giving an error: LSOPenURLsWithRole failed with error 10810.
But it can run, so I'll call it good.