Add GYP build for lib, support Android & iOS platform.