Move custom path of JPEG_ROOT, TIFF_ROOT, etc. before system.