Make SHA256d mining optional
Significantly rewrite configure script to handle driver dependencies cleaner