Fix warning from Linux/Windows build