Patch readline to make omake compile on OSX