Blender 2.90 Local build fails

For those having problems with GCC version on Ubuntu 18.04:
GCC version must be at least 9.3 for precompiled libraries, found 7.5.0