scons: fix incorrect test for embedded build