scripts/build does some configure like work before handing of
compilation to make, and these tests are essential for OE builds too
e.g. socklen_t differs between musl and glibc and this script can detect
that well.
Signed-off-by: Khem Raj <raj.khem@gmail.com>