remove cnp cimports where possible
Not sure what it will take to get avoid the 1.7 deprecation warnings, will see if this helps.

Also curious whether cimporting from libc.stdint works on Appveyor.
Closing to,clear the queue