Add <cstdio> include where needed by gcc-4.4.