android build: generate gprof file only if WITH_GPROF
android build: ignore renderscript toolchain

When detecting toolchains ignore renderscript because its not a
compiler toolchain.
android build: Fixed program path detection
android build: fixes for out of tree builds

Fixed the last places to be able to build android
out of tree with Unix Makefiles generator.

Note: When using eclipse use in source tree builds.
core: don't use c99 style initialization

fixes #1602
android toolchain: fixed cmake syntax warning
android toolchain: support for ndk r9b
Merge pull request #1604 from bmiklautz/build_fixes

Build fixes for android and windows