gui/Makefile fix, change ordering of linker options