test for -defaultlib=libphobos2.so

- followup to issue 13210

- depends on phobos directory layout for setting LD_LIBRARY_PATH