Fixed path to plugin dir when running in debug mode