Support multi-configuration projects better