adding ifdefs  for use outside of arduino