Bash/OSX specific stuffs