libevent: set platforms