No need to cache lookup that is only done once
Use a hash to cache compiler version lookups