Try fixing non-sandbox builds by gating bookmark code on 10.7 instead of 10.6.

Apparently some of these APIs did not exist in 10.6.