fix cocoa

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
ffi

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>