Remove deprecated define for kernel