Workaround for HHVM bug in readline()