fixed buildscripts.