Fixed error reporting when build fails.
Modified to handle 64-bit versions of NDK r8e
Fixes undefined references when using Boost.Filesystem.

Currently only in 1.49 version of boost.
Removed patch to bootstrap.log from boost-1_48_0.patch.
Merge branch 'master' of https://github.com/readium/Boost-for-Android
HOST_* variables are now logged.

The are: HOST_ARCH, HOST_OS, HOST_EXE, HOST_TAG and HOST_NUM_CPUS.
Had to pospone finding of there variables after the name of the
log file was determined.
Corrected the Platform variable for cygwin and windows.

Should be just 'windows' not 'windows-$HOST_ARCH'
Adds more tests and debug output to the script.
Added linux x64 support
Add env variable __ANDROID__ to conditions
Merge pull request #40 from linqcan/fixes

Add env variable __ANDROID__ to conditions
Fix typo in variable __ANDROID__
Merge pull request #41 from linqcan/fixes

Fix typo in variable __ANDROID__
Support for 64-bit host and toolchain, tested with NDK r8e and Boost 1.53
Merge remote-tracking branch 'lkalneus/master' into devel
Fixes undefined references when using Boost.Filesystem.

Currently only in 1.49 version of boost.
Re-add support for using a 32bit NDK on 64bit hosts

This is pretty much same as commit
8ae6be27d26c5174dfcb101dd31b98c5620e5b4f
from Michael Zoech.
Add install prefix
Support for NDK r9 by @pelya.

Conflicts:
	build-android.sh
Merge remote-tracking branch 'linqcan/fr-install' into devel