Fixing build script