Fixing compile issues on Linux.