Fixed compilation problems with archetype

Signed-off-by: Kai Kreuzer <kai@openhab.org>