Update project for current xcode. Fix a stupid weak library link again.