Fixing some compilation errors.