Add target configure to Makefile

* Rebuild configure if configure.ac is updated
Refactoring of libssh2 check in configure.ac