Remove obsolete config options.
Adjustments for more recent compiler versions.
Build system adjustments.
Remove generated file.