build: fix build on android and linux

Change-Id: I7d3785120523001b2ae6090e2897c03926fce23d
7 files changed