trying to wrangle ld to link stuff the way i want it