lib: avoid ICE on linaro 8.12

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>