lib path fixes for pypy tests