cocoa_common: fix compilation

7686cd7f broke some stuff