Fixed 2 warnings on Linux