Revert "+ revert regression with mixing Python debug and release libs"

This reverts commit f5a4e680681f30bb9396f1968ec3f9f82d175837.