cache stdlib paths in env