Fixing linux compilation issues.