sparse_vec: fix compilation with GCC
Merge pull request #27 from michalt/semilinear

sparse_vec: fix compilation with GCC