Added library support for osx
Changed defaults to make things easier to test