Issue #1: fix Python 2.7 for debug ABI

Update Python 2.7 patch to keep the ABI in debug mode unchanged.