Instead of UnmanagedMain. Requires patch to CoreCLR (submitted upstream but backported until we've integrated their work).