fix compiler warnings about missing end of file newlines

* added terminal newlines to util.{ch}pp
Merge pull request #417 from rivy/fix-EOF.newlines#2

fix compiler warnings about missing end of file newlines