Add build script for SQL repo.