Fix for compatibility with the `basename` command in GNU coreutils.

`basename` in GNU coreutils wants just one parameter differently from the default one.
GNU coreutils is easily available via Homebrew.
Merge pull request #16 from tototoshi/feature/fix-for-gnu-coreutils-basename

Fix for compatibility with the `basename` command in GNU coreutils.