scripting: resolve include paths relative to current file path