Enable newline check.

* The check was accidentally deactivated in a29793a5.
Merge pull request #870 from Renelvon/check_newlines

Enable newline check in build