How to enable standard libjpeg library instead of Pillow

In my torchvision installation, the torchvision library defaults to using Pillow’s libjpeg version instead of the standard libjpeg available.

Is there a way to force torchvision to use the the standard jpeg library instead of Pillow’s?

Installed versions:
torch 1.13.1
torchvision 0.14.1

Ubuntu 20.04 Linux - OS