Adapting To Lower Mac OS X

set target os version to 10.8