swap library order to address symbol resolution ordering issue in linking