add lib to fix compilation error for ad version.