Fixed a few minor build warnings.