alters the resources path builder from absolute paths to relative paths

fixes the issue #2023