Fixes for MSVC builds (added a case statement to each switch with only a default label).