build: Revert previous commit; copy subdirs in dist-hook

* Makefile.am (dist-hook): Copy contrib and examples subdirs
to $(distdir).