Added batch build support to GCC tool