Fix rakefile for building (really really this time)