Support make USE_COCOA=1