prevent header files from being copied public
Merge pull request #883 from proth/master

fixes bug with header files in static library