Make rake tasks 1.8 compatible