Fixed issues with plugin paths and dependencies for plugins libs in Mac OS