Create target directory if not present.