Build assets in pytest plugin rather than Makefile

This ensures that `setup.py test` will work even if the assets have
not already been built.