Fixed obvious compilation warnings.