Fix path checking for old Xcode.

When the tool installed under /Developer (like Nvidia Cg toolkit) exists, $xcode_path is not set correctly.