Fixed compilation issues.