bug fixed in makefile for gen vector library