Accept ~amd64 for virtual/{jdk,jre}