fix dist and build

was broken on old glibs