Apply mavericks fix for readline.