Remove header generation, add define for warning suppression.

Thanks to @akva2 for original patch.
Use new location of warning suppression header.
Merge pull request #206 from atgeirr/disable-thirdparty-warnings

Refactor disabling of third-party warnings