Change library order and include all libraries when building apibmon.