lcc: Add missing linking of dl in Linux environments