fixed Python 3 build