check lib readline when execute cmake