compilation fix for distlock change #775