configure: dry up cocoa check