Drop `configopts` below `sources`, and use double-quotes around $X to avoid surprises:

```python
configopts = 'CC="$CC" CXX="$CXX" --with-pic --without-python'
```