fix bash support on os x