Fix main function declaration.