Fixed buildscript

- attempt 3