Derive outdir from code:which/1 rather than src dir