Fixed a bug with the target languages

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>