Fix build error with linaro

Signed-off-by: iceandfire <arhamjamal@gmail.com>