added N_THREADS flag in Makefile -- defaults to VG_N_THREADS