fix $PATH for libc build