Fix bugs in parsing the compiler name

This is Doug’s fix to the way the python test framework parses compiler
name arguments. This patch fixes four failing unit tests.