Fix feature detection in bootstrap.sh.