Use $PWD instead of `readlink -f` for OSX (closes #8).