add switch jump tables for Linux and FreeBSD