Use readline only if we have the header files