make sure rake 0.8.7 is used; a few other fixes to install/deploy