fix for #875.

Update configure.ac to check for either 0.5.4 and 0.5.x version of libhtp.