Fixed a fail to find all dependencies causing plugins to not load at all.