pkgglobalenv is now pkgenv
check for curl binary at startup