You should probably try placing this above the `targets`:

```python
'variables': {
  'uv_library': 'static'
}
```