fixed compile errors for node 11 implementation following JMain refactor.
fixed compile errors for node 11 implementation following JMain refactor.

waTeim/node-julia,waTeim/node-julia,slowbrain/node-julia,Alfheim/node-julia,Alfheim/node-julia,Alfheim/node-julia,waTeim/node-julia,Alfheim/node-julia,slowbrain/node-julia,slowbrain/node-julia,slowbrain/node-julia,waTeim/node-julia