fixed build scripts (hopefully)