serials.hh: Move #ifdefs to beginning of line.