Remove a LOT of comditional compilation to optimize compile speed. Unneeded, and makes changes hard. Kept only mac-only and where required.