optional pandoc dependency, fix for #5