lib: use -fPIC for upcoming shared library changes
peek: make output customisable via command line options