Updating the GUI to build properly on MacOSX