lazy load stdlib paths; fixed env