ENH: Fixed compilation errors.