drop switch on enum (hard to cross-compile)