Not sure. At hand I have Centos 7.8, it has gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) and ./configure in 3.3 runs fine on it.
also not sure why you are specifying openssl, curl and pcre locations - are they not available from packages?
also not sure why you are specifying openssl, curl and pcre locations - are they not available from packages?