In newer Poky the LDFLAGS are not passed through the $CC variable anymore and we need to make sure scons is picking them up. Take an old Gentoo patch for it.