Fix plugin code being copied into built project

Instead of copying the files and providing a relative path to the code,
provide an absolute path to the code in the module folder.