makescene: support the relative paths in nvm files

Make makescene work when not run from the directory where the nvm file is located.