Fix path typos and naming errors

Signed-off-by: Amr Ali <amr@databracket.com>
Move generation of the tarball to the build target in rules

Signed-off-by: Amr Ali <amr@databracket.com>