Set is_distance_function to True; specify distance_hamming script in setup.py

12 jobs for add_hamming_dist_config in 9 minutes and 33 seconds (queued for 3 seconds)