Fixes build warnings.