Make vm module in node v0.11.x support obsolete APIs of node v0.10.x