-lidn workaround (libs ordering is wrong)