open-tests: port to glibc with _FORTIFY_SOURCE and -O1