Problem solved. In case someone else is having this problem:
yum install centos-release-scl yum install devtoolset-8