build output path