Fixed library setup