[[ Cocoa ]] Fix compile error in release mode.