fix order of det_pylibdir call vs super call, deps need to be loaded first