Update autotools configuration

Use new libtool syntax and cleaning the code a bit
3 files changed