Update arduino context switch benchmark, fix compiling issues