fixing broken tomcat detection in build-webapp.xml