try cxxflag foo, also fix gui