Quick patch for linking libraries