Fixing the gcc dependency using ubuntu toolchain for 12.04