Add "make check" target (useful for automated tests).