fix buildscript