check for closure builder instead of closure directory