Fix build with autotools.
Merge pull request #494 from QuLogic/fix-autoconf

Fix build with autotools.