Moved serial behind a preproccessor directive