fix build with Linaro