Fix configuration for gtk build.