Using getTargetDir by default, falling back to PrettyVersion