Support for bash < 4.2