fix(frontends/lean): libreadline support

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(frontends/lean): libreadline support