Added existence check for Mac OSX SDK directory.