sys/targets: check that <dirent.h> works in compilation test
sys/targets: check that <dirent.h> works in compilation test

Without linux-libc-dev:i386 installed the test passes,
but executor compilation fails because <dirent.h> is broken.

google/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller,xairy/syzkaller,xairy/syzkaller