update build script and build references in solution