Fix mouse scroll wheel using Cocoa.
Fix building cocoa app archive in Xcode