hopefully fixed buildscript