test for -defaultlib=libphobos2.so

- followup to [Issue 13210](https://issues.dlang.org/show_bug.cgi?id=13210 "libphobos2.so not being built")

- depends on phobos directory layout for setting LD_LIBRARY_PATH
Do you not need to `chmod +x` the shell script?