adding ARCH flags to deal with issue with building openssl