Added ecb for mac os.
Build ECB mac.