Fix Ubuntu compilation warning
Fix Ubuntu compilation errors