Readd missing build flags like libdl since that's...yaknow..useful

Change-Id: I89904faebbb2d9cafa66e30e2e60fda4a08ac8e1