Added support to arm64 and some changes on how to lipo and copy the headers files