Avoid requiring the PHP readline extension if not necessary