Fix up buildscript.