fix double-destroy seg
add build pieces for sofia sdp lib in core