cmake: Python bindings: fix support for debug build on Windows