Fixed buildscripts
fixed buildscripts.