Restrict rake to a version that works on 1.8.7

This is going into the 2-3-stable branch only. We don't need this change for the ruby19 only master.