fix bug in plugin path resolution on linux systems