fix for compiling with linaro 4.7.3