Fix reltool generation.