update build script and fix stupid typo