Fixing up maifest saving bug.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Refactoring build command.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>