Get CLI working on OS X.