Fixes the buildscript