fixed jvm build on python3