(OSX 10.6) Compatibility patches to CFExtensions.m