Fix for RazorLayout test comparison on Mono.