Fixes issues on OS X

You'll want to wait until this [pull request](https://github.com/neekey/ps/pull/3) is merged or use [my fork](https://github.com/matthewforr/ps) for now.