Fixing warning on linux