Ctools patch to get rid of wtrict warnings