Changed configure/makefile to work with v8 package config