Handling absolute paths for generation target dir