sb: Check for empty flags and only add when a str.
sb: Do not scan for libraries by default.
config: Change pkgconfig to check.

Add the extra actions: ccflags, cflags, ldflags and libs to allow the
fetching of these from pkg-config files.