cleanup build scripts (take 2)