Move build script to top-level tools directory