update build script for ubuntu