Changes to make possible compiling in GTK3 mode. Needs --disable-caja flag set!