Fixing string comparison for Linux