Fixed compilation failures.