Create target directories.