fix compile for Linaro 4.7