Merge pull request #1172 from evoskuil/master

Fix clang build break from unused var.
Fix configure warning.