GenerateProjectFiles.sh fails when building from source on Fedora 36 (Linux)

Many thanks! Ran into the same issue on Pop-OS 22.04, and this fixed it.