Changes to allow compilation with pandoc 1.12.
Bump version to 0.3.1.2; compile with pandoc 1.12.