Fix LinuxMint compilation issues.