MAINT remove integer warnings under Python 3 + numpy 1.8+