Fixed conditionals in platform Travis scripts