Fix open on linux