Fix little bug popping a warning on some machine and an error on others