Use Recommended "extern" Import Method for Cython

This addresses #1212.