changed a target for OSX10.7 and later.