build: only run abi check on supported os/arch.