more elegant way to do exclusive either-or per-platform