fix headpin build #1711

add missing lib files
remove foreman files from headpin package
Merge pull request #1717 from pitr-ch/bug/#1711

fix headpin build #1711