depends: be sure to use our autoheader
depends: fix librt check, and use a more realistic one for libresolv
depends: set some temporary sane default for arm+linux