Fix the buildscript