disable tiff when using cocoa.