Makefile: add extra_objs while opensips linking

(cherry picked from commit 81b19cb5d24430b5e2ea129a2b0d4b07d8a74c98)