build with and without numpy
assume numpy for testing