scons: import the mandatory library checks from old SConstruct
import everything from scons_util
scons: import platform checking code from old SConstruct
scons: define macros when libarchive / libcurl are detected
scons: import header / function checks from old SConstruct
scons: check for a functioning C and C++ compiler