Hack things to get along with modern autotools

 * Some macros were renamed
 * Prototype generation is gone