Rearrange library order in configure.ac