Resolve compilation issues on Linux.