remove errors when compiling with linaro