build: don't guess where a feature may be available

Test the feature, not the OS. Fixes Android build.