added build rake task

this is to be run before release so if there are any errors in building
the CLI, it will bail out before partially releasing to some targets