Only include stdio.h if debugging is on