global 'process' is used by node.js modules code

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>
use canonical paths as a search ones

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>