Fixing command-line on MacOSX