Fix compile time warnings.