Fix compile time errors.