Expose as a library as well so that projects can directly include doctest-discover, and get the executable as a side-effect