Add hack to make immutable collections work when running tests on net45