Fix GUI compilation.