CheerpFrontend: Only link each library once