Updated C build script