integrated guts into pyrocko
fixed a test
fixed installation problem where libdir defaults to PREFIX/lib64