build_style/python-module: fix cross build with python3