Fix dependencies on python3

Change-Id: Ie1ed5c6986ff9f3920839ac04bf3cd91909e7161