Protect against importing readline if module doesn't exist