fix target dir without subdir for erlydtl templates

When you compile erlydtl templates with recursive structure last modification of compiled files always undefined, because template_dir/subdir/template.ext != ebin/subdir/template_ext.beam
Target must be without subdirs