Fix more compilation errors on Linux.