WIP: Fix android build in linux

Trying to work on https://github.com/bitpay/copay/issues/910, but can't build android version yet.