Add optional gtk+ dependency.