Fixes an issue when using AFURLSessionManager on unsupported OS

Fixes #1592