change lib from .so to .pyd