fix for #35

found this on http://stackoverflow.com/questions/16843382/colored-shell-
script-output-library