Fixed few compiler warnings.