fix up the linker errors with the gui library