update to latest OS X SDK. fix error.