libdl should also be linked to binary

Change-Id: I98f9c90b0a7af591bdbcf646f59068f9915d49c7