cmake: fix finding Python library in Debug mode