Fixed build script a bit