gtest+gmock as shared --> segfault