Fix Travis-CI builds with numpy 1.8 under Python 3