update gcc build and made it compatible with jenkins

Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>