Don't use applink for static builds.