fixed makefile for libpack