Link static lib against Foundation instead of Cocoa