Fixed build by reordering link command. Squash me...