Fix invalid variable substitution in buildscript.