Fixed some build dependencies for Python 3, and a slight issue in the test requirements