Use libcurl4-openssl-dev package for libcurl-dev
fix: sems process returns always 0 when daemonized.

https://bugtracker.iptel.org/view.php?id=63
https://bugtracker.sipwise.com/view.php?id=779