Fix crash on nvidia linux