Set result to NOT_BUILT rather than FAILURE when canceling a build.