blast: Fails to build with gcc 4.9

error: must #include <typeinfo> before using typeid

Closes #1078