Better handling of custom bindir when building from source

The binary directory can now be specified when building from source using an attribute, which allows the presence of searchd to be more accurately queried.  The check for the existence of searchd has also been extended to take the version number into account, if the version attribute has been explicitly set.