fixing rakefile to not error out on missing 10.8 SDK

fixing search path for default SDK when 10.8 SDK is not present. Deployment target doesn't rely on the base SDK of the target version being present. 

Note: There might be an edge-case if someone is building this that is below 10.8 as their default SDK target for the "macosx" platform.