This is an ugly fix, and makes some assumptions, but necessary as Uses/readline.mk doesn't export which path it's using, it just modifies *FLAGS directly.