replace deprecated functions

Signed-off-by: Lehner Florian <dev@der-flo.net>
Use ./configure --enable-debug for debugging

Signed-off-by: Lehner Florian <dev@der-flo.net>
0.15

Signed-off-by: Lehner Florian <dev@der-flo.net>