Updated to use new SBuild 0.7.1 Plugin API.