Set PLATFORM environment variable.

It's used in some of Electric Imp's Erlang source code as
-include("$PLATFORM/tcp.hrl"), and this throws syntastic.