Fixes for packageconfig

Don't include hammer in the include path and use the variable for prefix rather than defaulting it.