use setPrototypeOf if available

This makes it work with Node v0.11, using the new ES6 stuff.
v1.2.3