Fixed python_static compilation error