At the time the runtime is build the "gen-posix-names.sh"
script is used to look for symbols defined in <unistd.h>.
This script stops with the first file found -- behaviour that
causes the build to fail on FreeBSD 5.X. The attached
patch makes the script look for symbols in all the variations
of <unistd.h> that it can find.