Added support for Xcode workspaces when building plugins.