build shell common library