Fix mulit-configuration bug. This affected users who use multi-configuration generators for building ninja.
Fix mulit-configuration bug. This affected users who use
multi-configuration generators for building ninja.

AoD314/ninja,maruel/ninja,sgraham/ninja,sgraham/ninja,ninja-build/ninja,bradking/ninja,iwadon/ninja,Qix-/ninja,iwadon/ninja,Qix-/ninja,ninja-build/ninja,maruel/ninja,sgraham/ninja,sgraham/ninja,maruel/ninja,AoD314/ninja,ninja-build/ninja,iwadon/ninja,AoD314/ninja,AoD314/ninja,bradking/ninja,iwadon/ninja,ninja-build/ninja,bradking/ninja,maruel/ninja,Qix-/ninja,Qix-/ninja,bradking/ninja