add switch jump tables for Linux, FreeBSD, and OSX