call output-directory fn instead of accessing the property on opts in
cljs.closure/build