V2 build and jbossews fixes