Silence the clang warning as we know this is deprecated and only use it on old OS's.