custom kernel choice build fixes