Delete unused macros, fix GTK build.