build: work with new glibc when not optimizing