Minor compatibility fixes for jbossews