Fix compilation for Lite builds.
Fix warnings about uninitialized values.