added check to put GNU ls from homebrew on PATH in OS X