Added kernel pre-compile support