Patchset to BUILD out of tree kernel module

Hi Thomas,

here is the patch to build both out of tree and in tree. And a patch to fix #4

regards

Benjamin