fix few quarks with OSX builtin shell programs