Changed Makefile to copy the correct packages prior to building the package index