Fixed compatibility with linux (ubuntu at least)