Replace optimist module to nodejs build-in process module.