Fix compiling with pandoc

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
Merge pull request #29 from styx/pandoc_fix

Fix compiling with pandoc