Now can generate boot.bin on OSX as well as linux.
(also some general cleanup)