Kernel build fixes

Signed-off-by: Simon Busch <morphis@gravedo.de>