remove libc; adapt makefiles