Hack for mavericks readline issues