#123864# add version check for OSX 10.7

Patch-by: jsc@apache.org