Strict compile fixes.

A few were serious, all recent.
Ganesha CMake integration.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>