Updated for changes to BasePlugin build system