Guard against undefined getOwnPropertyDescriptors

IE10 was having an issue with it