Fixed mustThrowAssertionError() helper on windows