Fixed MFC build with Ninja.