Introduced a multi-platform support base.
Darwin port step 1.