This allows for dynamic linking of the unit tests. Should reduce test sizes as well as enable easier compilation on Mac OS X.