add prototypes for every c function, close #1

We can't just convert on-the-fly, because we need "long" pointers
on 64 bit systems, but we only get "short" c_int by default.
So we would fail on high addresses (like for constants/defines)
make _find_library more generic -> % name