Fixes bug in plugin manager on mac