Better handling non Linux systems