Fix incompatible compilation in Linux server