wscript_build: make sure we link extra-python versions of libraries