Bare minimum amount of changes needed to get bash running in OS X