Fix python3 build