Added OS X example target for testing build errors.

Mac app doesn't do anything besides showing the main window. But it's useful to test OS X builds for potential compiler warnings or errors.
Fixed couple of compiler warnings on OS X build.