Fix the TextureMapper build for GTK+.