backport of further dpdk 16.07 fixes for library linking