How to solve the gtk problem when compiling with PackageCompiler?

The last time I tried this, I vaguely recall running into issues with 1.7. Julia 1.6 worked.