Adapted to newest sses/ssvsc
Adapted to newest libs