Better JBOSS_HOME handling