Fix problem after merge with CMake

Fix BackedBuildRules to search in correct way database backend libs
Fix root CMakeLists.txt

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <msditanov@luxoft.com>

Change-Id: Iae5fae3d91c93ecd6159fc517276119db3d34856