Use "KERNEL" instead of "LINUX".  Add kernel options.

Make it possible to specify the kernel module prefix and header directory.
If the header directory is specified, make sure it contains Headers/IOKit.