crypto-native: properly deal with broken or outdated toolchains