Made compatible with strict C++11
Change suggested with Robin Smith, eliminates errors with some versions of automake.