Make Clang stop complaining about unused libs
Replace a switch with a static string array