Adding a workaround for __main linking with remote lli and Cygwin/MinGW