More customization of configure.
Natevents compatibility with kernels from 2.6.31 and until 3.2.