more OSX support in arduino_util.sh