Avoid Python 3 compile warnings in NumPy initialization