Portablility changes for Node.