Prevent rebuild when build is queued