boost python numeric no longer exists in boost 1.65, so check boost version and conditionally use boost python numpy.