Temporarily remove the faulty PropertyIntrospectionTest2; link -lpthread
Revert "Make weak refs to __cxa_* simply extern on Windows, until a better solution is found"

This reverts commit d3860c24ff8c2090761effc48e15175d9039dc9e.
Added C++ exception test

Unfortunately c++ libs should be linked even if there is no C++ code in
the project. Fix later.