Added ldflag for libreadline