fixes for automake 1.12

Hi rscada-team,

your configure.ac failed on my machine with automake 1.12. I fixed the issues regarding automake 1.12.

Cheers,
tpltnt