apply https://github.com/jbosstools/jbosstools-target-platforms/pull/23 from mistria