update c build script