devtools: skip ABI check in static builds