All the changes needed to build on OSX.

Provides OSX CI-based distribution building and uploading.
I wonder if it might be worth putting a comment on the discrepancy between the `build` and `run` sections - if it can be kept concise!