add abi compatibility detective.