fix error while compiling with GCC 4.9.1 Linaro