python3 support: use static3 instead of static