adding --dry
support for a static binary - out of lazyness I use libtool here since otherwise I have to manually add the -l of every dependency's dependency and so on...