update build script and fix install.rdf