Fix library order 'lrt'

'-lrt' must be after 'curl'