Fix a build break when --mode=all is used plus small other fixes.

git-svn-id: http://omaha.googlecode.com/svn/trunk@57 e782f428-02b4-11de-a43f-ff96a2b7a9af
8 files changed