Fix Linux build
Fix warnings on Linux