bugfix when use osx "no such option: --with-color"