use correct flags for internalAgent on fabric8 versions of tomcat & tomee