Compatibility stubs to enable use of weak references with ARC on older OSes