Test config fixes

Fix multi-config related test problems (mostly tests not working with multi-config generators, but also assuming that we are using a multi-config generator iff WIN32, which is not reliable in either direction, e.g. XCode on OS/X, ninja on Windows).