Require -lpthread.dll at config time on Windows; explicitly link libobjc.dll.a to libobjcxx - this is required only on Windows
Tests: compilation fixes for MinGW. Now everything compiles.
Set PATH for ctest to where newly built dlls are
Use SmallObjectClasses again