Patch applied to file in ctools module

Updating to dev version of ctools module did not work very well so I put
the regular version back and applied a patch to one file that should do
the same thing as the .dev version.