Add support for headless v2 linux

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Better support for custom uClibc toolchains

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>