Bugfix for multi config  build