Fixed missing AfterBuild directive.