fixed build on node v10