Fix build errors on Linux.