Install internal hrl files when necessary

Sometimes we install *.erl files. Some these files include a private
*.hrl files, so in order to make these *.erl files usable we have to
install these private includes as well.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>