Fixed compilation problems.