Fixed build event to be consistent with other plugins