fix compiler warnings about missing end of file newlines

* added terminal newlines to some specific files which caused compiler warnings