Cope with the absense of cPickle

First of the hacks I needed to get this working on ubuntu saucy