Fix dir target-names.