Build hal in unified mode