Fixed uild to run without gui.