top/rules.mk: add libc to build dependencies