Revised pandoc version detection.