don't hardcode THREADS in Makefile