Fix use of Serial1 and default main() compilation on arduino