fix build error in jboss-amq kit