[C] Small build script tidy-up