Android: Fix for 64bit arm and x86_64 targets

tested on kitkat arm and lollipop x86_64/arm64

Change-Id: I6049c7d935f08db51bea8f3fb98fe025171f2ef9
Android: fix for 32/64 __set_errno libc change

this export in libc is only present for 32 bit targets
for compatibility issues with the published NDK

Change-Id: I3ddab7d7f3c409cf7732ca23f23d3080fd6861a3