Use runtime check to allow other console-based hosts to use PSReadline