Make the necessary changes to facilitate ARM cross-compilation

Add ARM cross-compilation support to the libv8 gem. Note the discussion in https://github.com/cowboyd/libv8/pull/79.