Update building script.