MFH: Fix crashed build detection in deadlock_detected()
MFH: Fix setting POOL_BUCKETS=0
MFH: Only need to load cache if tracking buildtimes
MFH: balance_pool: Fix race between checking for empty dir and grabbing lock
MFH: Fix check_moved warning when tested port has no deps