Fix build without NTK