Improve detecting Xcode version on OS X 10.6 Snow Leopard

support Xcode 4.2 on Snow Leopard.

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2616 f4f36d40-9719-0410-9868-dde021a23eda