fix Issue 10711 - shared phobos library should not depend on _Dmain
Merge pull request #2476 from WalterBright/fix10711

fix Issue 10711 - shared phobos library should not depend on _Dmain