Fix for a better compatibility with MVC4+.