fixing trailing backslash on :output-dir problem