Adding stdio for compiler compatibility