Fixed unittest build failure

This small changes allows dub to build with the unittest code enabled.