Update voice.py

Fix build discrepancy