also compile in non arduino environment