Solved problems with build scripts