Fixed segfault when running dub test, compiliation on linux