lua console history feature uses "history" instead of "readline"

This is the correct and more minimal interpretation of the optional
dependency.