moved gcc check to install_allPackges