* Fixed some compilation warnings due to suspicious type casting and unsused header macros. * Changed deprecated copyright attribute to license and added ldconfig to post-(un)install steps