Fixed detection of processor arch
Fixed matrix getting corrupted problem
Only link to the log library once.
Merge topic 'android_fixes'

0b2df331 Only link to the log library once.
8bf8332c Fixed matrix getting corrupted problem
d9354065 Fixed detection of processor arch