common build scripts used in c/c++ projects