Making sure not to break OS X

The `ls` command for Mac OS X doesn't support long option names. Fixes #2462.