C++11 standard says tuple_elements are classes
Specialize numpy time for long and unsigned long

This is needed to compile on OSX. I don't know what the standard
says...
Add missing import for std::accumulate