cross and native compile in same section