Made CBLCache work correctly on OS X 10.7 (No effect on iOS)

Fixes #238 (speculatively, since I don’t have a 10.7 system to test on.)