If readline is enabled add readline to libraries to link