check lib readline before make