Fix up mainClassName for gradle application plugin