kernel build hacks for vanilla builds