cmake: android support

Foundation/src/Error.cpp: ndk-r9 define _GNU_SOURCE in features.h but only the XSI-compliant strerror_r in string.h
cmake: missing files added to CMakeLists.txt

fix: linker error for testsuits
fix: configure_file error if CMAKE_MODULE_PATH had multiple directories