Fix Makefiles for prpack compilation.