update tomcat installation conditionals