Skip dcmtk calls when testing
Fix crash on linux