libsparse: fix undefined reference

Signed-off-by: Domenico Marino <johnlemon.lol@gmail.com>