cabal-wrapper configure runs cabal with android flags

Like cabal install, cabal configure accepts all the flags needed to enable
an Android build.

Also, changed == in a test to just =. == is a bashism; = will work in all
POSIX shells.