Updated to compile under new kernel.