Don't build loc unittest without AD3