Fixed inputrc compatibility issues with bash < 4