Fix crash on linux in VM