cmake: Fixed cocoa-ogl binding source name.
cmake: Fixed most of native build on macos.

I was curious to see if we could get away with completely omitting the
entrypoint lib, even in console apps. On mac, it pops up an application with
no window. In hindsight, it won't work on windows, either, because only
console apps get stdout.

That will have to be changed back.