Moving pthread tests to non-mingw section.