You could use:
from torch.utils.cpp_extension import BuildExtension
cmdclass['build_ext'] = BuildExtension.with_options(use_ninja=False)

to disable ninja in custom extensions.
@cskarthik7 I don’t know, if binaries are available and you could ask the authors in their repository about it.