minor buildscript tweaks