Updated makefile to build v3.