Fix build warnings

Debugging actual issues is needlessly hard when there are
tons of warnings.

Change-Id: I08d109bc7e541947a1bf2e34e2fc2a7b3b73596e
11 files changed