Fix build duration for in-progress builds

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>