rake tweaked for building