Get the GUI app to compile and run on FreeBSD.