Using the Projucer without a GUI

I need to compile a static library with JUCE for Linux.
I can easily create a Makefile and compile it on Linux GUI systems, but I cannot start the Projucer without a GUI. When I try to run the Projucer, I get a segfault from x11.

Is there any way I could disable the GUI of the Projucer when compiling / running it?

I am actively developing FRUT, a collection of tools dedicated to building JUCE projects using CMake instead of Projucer. It’s 100% command line and rather simple to use (or feel free to ask me any questions if something is not clear).