Ensure that Smack is initialized when calling ProviderManager