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

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