Use Perl to run tests suites with make

- works on Windows too!
- we need Perl to generate/build the test suites anyway
- easier & more flexible (eg, now count total number of tests run)
diff --git a/Makefile b/Makefile
index c5720c7..2f05e12 100644
--- a/Makefile
+++ b/Makefile
@@ -59,12 +59,12 @@
 	find . \( -name \*.gcno -o -name \*.gcda -o -name *.info \) -exec rm {} +
 endif
 
-ifndef WINDOWS
 check: lib
 	$(MAKE) -C tests check
 
 test: check
 
+ifndef WINDOWS
 # note: for coverage testing, build with:
 # make CFLAGS='--coverage -g3 -O0'
 covtest: