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

http://d.puremagic.com/issues/show_bug.cgi?id=10711