Fix libcxx problems

* Don't use `initializer_list` directly
* Don't build `AutowiringTests` with `libstdc++`