Don't use deprecated autotools macros
Remove unused pointer from priv struct

I'm sure I was going to do something with it,
but I can't remember what it was now...