Fixed mac build.

Something happened and CMAKE_BUILD_COMMAND wasn't working. That's ok, though.
On another branch we've already stopped using that in lieu if cmake --build.
Merge branch 'mac' into entry-point
macos entry point wip.