Add better support for systems without pandoc