fix related to ninject/ninject 132

https://github.com/ninject/ninject/issues/132