moving Cocoa libraries out of S4