build and run on osx works