made c-extension vs. python+numpy selectable