split Orinoco setup (header) into generic and platform-dependant parts