Fix compilation issue.
Quiet down compiler warnings.