Don't add extern "C" around thread wrappers