Fix check for htonll in configure.ac

This is the pull request for #350.

The patch is from @ymettier