Updated for compatibility with new TypeInfo-based Reflection API

Updated for compatibility with new TypeInfo Reflection API, used in new
.NET environments like Windows Phone 8.1 , Apps for Windows Store and
their respective PCL profiles.
I'm afraid this was actually a oversight on my part. I have corrected this in my latest commit.