Fixed compilation errors in main