Fixes variable naming issue in build script
Fixes gcc path for CentOS build