Fixed instanceof buffer for node 0.6