change 'locked' to 'building' to match changes for dirty patching support