Support variants in the build scripts.