Fixed Inherit() method compilation issues for node 0.11.