changes to tool/build, libc builds, runtime dependency fixes