Fix incompatibility issues with readline 6.3

Closes: #37

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>