fix buildTarget support in configurations