Add ugly hacks to prevent warnings from the kernel headers.