make aGUI compile on headless