lib: Makefile: avoid ICE on linaro