Now works with AnyCPU setting.